package basicTypes;

public class RAResource {
	private RAResourceType type;
	private int ID; 
	
	public RAResource(int ID, RAResourceType type) {
		this.ID = ID;
		this.type = type;
	}
	
	public RAResourceType getType() {
		return this.type;
	}
	
	public void setType(RAResourceType newType) {
		this.type = newType;
	}
	
	public int getId() {
		return this.ID;
	}
	
	public void setId(int x){
		ID = x;
	}
	public int getID() {
		return ID;
	}

	public void setID(int iD) {
		ID = iD;
	}

	public String toString(){
		return ("%%%%%%%%%%%%%%%%%%%%%%%%%%\n"+
				"Id_recurso="+ this.ID+
				"\n" + this.type.toString()+
				"%%%%%%%%%%%%%%%%%%%%%%%%%%\n");
	}
	
}
